/*
 * @Author: xiaosihan 
 * @Date: 2022-07-10 13:26:35 
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2024-05-27 01:51:45
 */
// 楼栋数据
export type BuildData = {
    id: string,
    name: string,
    buildUnits: Array<BuildUnit>,
    x: number,
    z: number,
    rotationY: number
}

// 楼栋单元数据
export type BuildUnit = {
    id: string, // 楼栋单元的id
    name: string, // 单元名称
    unitTypes: Array<string>, // 户型
    roomDatas: Array<{
        id: string, // 楼栋单元的id
        floorTopColor: string, // "#E3B07A", // 楼顶的户型颜色
        roomDatas: Array<RoomData>
    }>
}

// 房间的数据
export type RoomData = {
    id: string, // id
    name: string, // 门牌号
    color: string, // 颜色
    floorHeight: number, // 层高
}

// 楼栋标签数据
export type BuildLableData = {
    id: string,
    name: string,
    x: number,
    y: number,
    z: number,
}

// 房间标签数据
export type RoomLableData = {
    id: string,
    name: string,
    color: string,
    x: number,
    y: number,
    z: number,
    rotationY: number
}

//户型标签
export type BuildUnitTypeLableData = {
    id: string,
    name: string,
    x: number,
    y: number,
    z: number,
    rotationY: number
}

//垃圾房数据
export type GarbageRoomData = {
    id: string,
    x: number,
    z: number,
    rotationY: number
}


//季节                 春分               夏至                秋分                冬至
export type Season = "spring_equinox" | "summer_solstice" | "autumn_equinox" | "winter_solstice";
